package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBK_T")
public class GwbkT extends PO<GwbkT> {

    private static final long serialVersionUID = 1L;

    private String GWBKENT;

    private String GWBKNAME;

    private String GWBKID;

    private BigDecimal GWBKSEQ;

    private String GWBK001;

    private String GWBK002;

    private BigDecimal GWBK003;

    private BigDecimal GWBK004;

    private BigDecimal GWBK005;

    private BigDecimal GWBK006;

    private BigDecimal GWBK007;

    private String GWBK008;

    private String GWBK009;

    private String GWBK010;

    private String GWBK011;

    private String GWBK012;

    private String GWBK013;

    private String GWBK014;

    private String GWBK015;

    private String GWBKPLANT;

    private String GWBKLEGAL;

    private String GWBKACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWBKUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWBKGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWBKMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWBKTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBKDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWBKORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWBKORIU;

    private BigDecimal GWBKSEQ2;



    @Override
    protected Serializable pkVal() {
        return this.GWBKID;
    }

}
